<template>
  <div class="login">
    <div class="bg"></div>
    <div class="content">
      <div class="header">
        <div class="left">
          <div class="logo"></div>
        </div>
        <div class="right"></div>
      </div>
      <div class="login-panel">
        <div class="introduce-img"></div>
        <!-- 登录面板 -->
        <Panel />
      </div>
    </div>
  </div>
</template>
<script setup>
import Panel from './components/Panel.vue'
</script>
<style lang="less" scoped>
.login {
  user-select: none;
  width: 100vw;
  height: 100vh;

  .bg {
    width: 100vw;
    height: 100vh;
    background: url('@/assets/images/login/login-bg.png') no-repeat center
      center;
    background-size: cover;
  }

  .content {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    .header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 128px;
      width: 90%;
      margin: 0 auto;

      .left {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 233px;
        font-size: 30px;

        .logo {
          width: 100%;
          height: 80px;
          background: url('@/assets/images/login/login-logo.png') no-repeat
            center center;
          background-size: contain;
        }
      }
    }

    .login-panel {
      position: fixed;
      right: 200px;
      bottom: 200px;

      .introduce-img {
        width: 50%;
        min-width: 50%;
        height: 100%;
      }
    }
  }
}
</style>
